package com.yhd.service;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author 二十
 */
public class HelloService {

    @Autowired
    private HelloServiceProperties helloServiceProperties;


    public String sayHello(String name){
        return helloServiceProperties.getPrefix()+" "+name+" " +helloServiceProperties.getSuffix();
    }
}